﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using DotNet.Utilities;
using JinfuyuanProject.Entity;
using JinfuyuanProject.Entity.Filter;
using JinfuyuanProject.Entity.ViewModels;

namespace JinfuyuanProject.Service
{
    public interface IContractService
    {
        IQueryable<Contract> GetList();

        Contract GetModel(int Id);

        bool Delete(Contract student);

        int Insert(Contract student);

        bool Update(Contract student);
        Hashtable Query(ContractFilter contractFilter);
        Hashtable GetPay(int id);
        ResMessage PaySuccess(int cId, decimal PayMoney, int sid, int PayWay);
        ResMessage UpdataContract(ParturientContractVM pcvm);
    }
}
